﻿
namespace SistemaLogistica.Windows
{
    using System;
    using System.Windows.Forms;
    using SistemaLogistica.Windows.Panels;
    static class Program
    {
        /// <summary>
        /// Punto de entrada principal para la aplicación.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            FrmLogin login = new FrmLogin();
            login.ShowDialog();

            if (login.DialogResult == DialogResult.OK)
            {
                Application.Run(new MainForm());
            }
        }
    }
}
